package com.boss.salary.dao;

import com.boss.framework.dto.PaginationDTO;
import com.boss.salary.entity.AgencyExt;
import com.boss.salary.entity.AgencyInfo;

import java.util.List;
import java.util.Map;

public interface IAgencyInfoAuditDao {

    /**
     * 分页查询
     * @param paginationDTO 分页条件
     * @param queryParam 查询条件
     * @return
     */
    List<AgencyInfo>  queryAgencyInfoPage(PaginationDTO paginationDTO, Map<String, Object> queryParam, List<String> childrenId);

    /**
     * 获取数据量
     * @return
     */
    int queryAgencyInfo(Map<String, Object> queryParam, List<String> childrenId);

    /**
     * 修改单位信息状态
     * @param state
     */
    void updateAgencyInfoState(AgencyExt state);
}
